package com.mipo.core.exception;

import com.mipo.core.exception.BizException;
import com.mipo.core.exception.BizMsg;

/**
 * Created by cc on 2017/9/13.
 */
public enum BizErr {


    ERR_RUN_EXCEPTION(new BizException(BizMsg.ERR_RUN_EXCEPTION));

    private BizException error;

    BizErr(BizException ex) {
        this.error = ex;
    }

    public BizException getError() {
        return error;
    }

    public void setError(BizException error) {
        this.error = error;
    }
}
